﻿<Window x:Class="MyButtonControl.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:CustomControls="clr-namespace:MyButtonControl"
        Title="MainWindow" Height="350" Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
            <RowDefinition/>
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition/>
            <ColumnDefinition/>
        </Grid.ColumnDefinitions>
        <CustomControls:MyButton Content="Button1" Grid.Row="0" Grid.Column="0" Width="100"/>
        <CustomControls:MyButton Content="Button2" Grid.Row="1" Grid.Column="0" Width="100"/>
        <CustomControls:MyButton Content="Button3" Grid.Row="2" Grid.Column="0" Width="100" IsEnabled="False"/>
        
    </Grid>
</Window>
